[INFO] cloning repository https://github.com/sergz72/peripheral_library
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergz72/peripheral_library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergz72%2Fperipheral_library", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergz72%2Fperipheral_library'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9f54db4a0577ee7b81b2454fde203e824626ba9b
[INFO] checking sergz72/peripheral_library against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergz72%2Fperipheral_library" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sergz72/peripheral_library
[INFO] finished tweaking git repo https://github.com/sergz72/peripheral_library
[INFO] tweaked toml for git repo https://github.com/sergz72/peripheral_library written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sergz72/peripheral_library on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sergz72/peripheral_library already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24
[INFO] running `Command { std: "docker" "start" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v1.0.0-alpha.4
[INFO] [stderr]     Checking peripheral_library v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `config_file_name`
[INFO] [stdout]   --> src/devices/cc1101.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn test(config_file_name: String) -> Result<(), Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_file_name`
[INFO] [stdout]   --> src/devices/cc1101.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn test(config_file_name: String) -> Result<(), Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_FLAG_USED` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const GPIO_V2_LINE_FLAG_USED: usize               = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_FLAGS` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const GPIO_V2_LINE_ATTR_ID_FLAGS: u32         = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_DEBOUNCE` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | const GPIO_V2_LINE_ATTR_ID_DEBOUNCE: u32      = 3;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_FLAG_USED` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const GPIO_V2_LINE_FLAG_USED: usize               = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_FLAGS` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const GPIO_V2_LINE_ATTR_ID_FLAGS: u32         = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `I2C_TEN_BIT` is never used
[INFO] [stdout]  --> src/interfaces/i2c.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const I2C_TEN_BIT: Ioctl = 0x0704;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spi_ioc_wr_lsb_first` is never used
[INFO] [stdout]   --> src/interfaces/spi.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn spi_ioc_wr_lsb_first() -> Ioctl {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_DEBOUNCE` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | const GPIO_V2_LINE_ATTR_ID_DEBOUNCE: u32      = 3;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `I2C_TEN_BIT` is never used
[INFO] [stdout]  --> src/interfaces/i2c.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const I2C_TEN_BIT: Ioctl = 0x0704;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]   --> src/devices/scd4x.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl SCD4X {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn get_status(&self) -> Result<u16, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bus` is never read
[INFO] [stdout]  --> src/devices/cc1101.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CC1101 {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 5 |     bus: SPIMaster
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: CRATER ERROR: C-variadic argument with type `T`.
[INFO] [stdout]   --> src/interfaces.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let rc = ioctl(fd, request, data);
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `T` does not implement `VaArgSafe`
[INFO] [stdout]   --> src/interfaces.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let rc = ioctl(fd, request, data);
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: values passed as C-variadic arguments must implement `core::ffi::VaArgSafe`
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #162483 <https://github.com/rust-lang/rust/issues/162483>
[INFO] [stdout]    = note: requested on the command line with `--force-warn invalid-c-variadic-arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spi_ioc_wr_lsb_first` is never used
[INFO] [stdout]   --> src/interfaces/spi.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn spi_ioc_wr_lsb_first() -> Ioctl {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]   --> src/devices/scd4x.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl SCD4X {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn get_status(&self) -> Result<u16, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bus` is never read
[INFO] [stdout]  --> src/devices/cc1101.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CC1101 {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 5 |     bus: SPIMaster
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: CRATER ERROR: C-variadic argument with type `T`.
[INFO] [stdout]   --> src/interfaces.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let rc = ioctl(fd, request, data);
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `T` does not implement `VaArgSafe`
[INFO] [stdout]   --> src/interfaces.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let rc = ioctl(fd, request, data);
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: values passed as C-variadic arguments must implement `core::ffi::VaArgSafe`
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #162483 <https://github.com/rust-lang/rust/issues/162483>
[INFO] [stdout]    = note: requested on the command line with `--force-warn invalid-c-variadic-arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `peripheral_library` (lib test) due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `peripheral_library` (lib) due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24", kill_on_drop: false }`
[INFO] [stdout] 3a859e8327cf4eaf18798f37dc950c97e83da07778ca61d4ef776949fc119a24
